/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.personassessmentinfo.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 党员考核积分设置Entity
 * @author wu
 * @version 2017-08-30
 */
public class PersonAssessmentInfo extends DataEntity<PersonAssessmentInfo> {
	
	private static final long serialVersionUID = 1L;
	private String personAssessment;		// 党员考核表ID
	private String title;		// 积分内容
	private String content;		// 备注
	private String upperScore;		// 上限分数
	private String sourceType;		// 分值方式
	private String count;		// 次数
	private String cycle;		// 周期
	private String upperCount;		// 上限分/次
	private String type;		// 类型
	private String mode;		// 方式
	private String applyCount;
	private String assignModl;
	private String sort;
	
	private String orgId;
	
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public PersonAssessmentInfo() {
		super();
	}

	public PersonAssessmentInfo(String id){
		super(id);
	}

	@Length(min=0, max=64, message="党员考核表ID长度必须介于 0 和 64 之间")
	public String getPersonAssessment() {
		return personAssessment;
	}

	public void setPersonAssessment(String personAssessment) {
		this.personAssessment = personAssessment;
	}
	
	@Length(min=0, max=100, message="积分内容长度必须介于 0 和 100 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	@Length(min=0, max=200, message="备注长度必须介于 0 和 200 之间")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public String getUpperScore() {
		return upperScore;
	}

	public void setUpperScore(String upperScore) {
		this.upperScore = upperScore;
	}
	
	@Length(min=0, max=2, message="分值方式长度必须介于 0 和 2 之间")
	public String getSourceType() {
		return sourceType;
	}

	public void setSourceType(String sourceType) {
		this.sourceType = sourceType;
	}
	
	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}
	
	@Length(min=0, max=20, message="周期长度必须介于 0 和 20 之间")
	public String getCycle() {
		return cycle;
	}

	public void setCycle(String cycle) {
		this.cycle = cycle;
	}
	
	public String getUpperCount() {
		return upperCount;
	}

	public void setUpperCount(String upperCount) {
		this.upperCount = upperCount;
	}
	
	@Length(min=0, max=2, message="类型长度必须介于 0 和 2 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=2, message="方式长度必须介于 0 和 2 之间")
	public String getMode() {
		return mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}

	public String getApplyCount() {
		return applyCount;
	}

	public void setApplyCount(String applyCount) {
		this.applyCount = applyCount;
	}

	public String getAssignModl() {
		return assignModl;
	}

	public void setAssignModl(String assignModl) {
		this.assignModl = assignModl;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
	
}